<!DOCTYPE html>
<html class="no-js" lang="zh-CN">
<head>
    <meta charset="UTF-8"/>
    <!--<meta http-equiv="X-UA-Compatible" content="IE=edge">-->
    <title>{$data}装修公司排名_{$data}装修公司哪家好-金蚂蚁装修网</title>
    <meta name="description" content="{$data}装修公司，提供{$data}装修效果图设计和报价，了解{$data}哪家装修公司好和装修公司口碑排名等信息"/>
    <meta name="keywords" content="{$data}装修公司、{$data}装修公司哪家好、{$data}装修公司报价,{$data}装饰装修公司"/>
    <meta name="format-detection" content="telephone=no">

    <meta name="renderer" content="webkit">
    <link rel="shortcut icon" href="__PUBLIC__/images/logo.ico">

    <!--<meta name="renderer" content="webkit">-->

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/style.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/header.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/footer.css">
    <script src="__PUBLIC__/js/jquery-1.2.6.min.js"></script>
    <script src="__PUBLIC__/js/header.js"></script>
</head>
<script>

    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js

            ';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>
<body>
<div class="headk">
    <div class="head">
        <div class="floatleft">您好<a href="__MODULE__/Usercenter/index"><b style="color:red;">{$_SESSION["username"]}</b></a>，欢迎来到金蚂蚁装修网！<span>{$data}<a href="{:U('Home/City/index')}">【切换】</a></span></div>
        <div class="floatright">
        <?php 
if($_SESSION["bid"]){?>
   <a href="__MODULE__/Usercenter/index"><b style="color:red;">进入个人中心</b></a> | <a href="__MODULE__/Company-layout">注销</a>
<?php }else{ ?>
<!--<a href="{:U('Home/Login/index')}">您还未登陆,点击登陆</a>-->
<?php }?>
            <!--|<a href="{:U('Home/Register/ownreg')}">个人注册</a>|<a href="{:U('Home/Register/comreg')}">装修公司注册</a>-->
            <!--|<a href="{:U('Zxwd/index')}">装修问答</a>|-->
            <span>服务热线:400-0606-129</span>
        </div>
    </div>
</div>
<div class="topbigdiv" bigheight="132" smallheight="103">
    <div class="top">
        <div class="logo">
            <a href="http://www.zxjmy.com">
                <img
                        src="__PUBLIC__/images/logo.png"
                        height="90">
            </a>
        </div>
        <include file="Public:read"/>
    </div>
</div>
<div class="topbigdivbg"></div>

<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/company.css">

<section class="section">

    <div class="container design-comp-list">
        <div class="breadcrumb-list">
            <ul class="select-info"><h2></h2>
                <li class="select-crumb display-block"><a href="{:U('Company/index')}">{$data}装修公司</a>&nbsp;>&nbsp;<a href="{:U('Company/detail')}">{$area}</a>
                    <!--<a href="">美图</a> <span>&gt;</span>-->
                </li>
            </ul>
        </div>
        <div class="right-container">
            <div class="baoming-normal">
                <div class="con_bj_cal col_l" id="tender-video-form">
                    <h3 class="calputer_tit">装修报价计算器</h3>
                    <form id="new_base_info">
                        <div class="mod_form bj_form">
                            <div class="form_line">

                                <div class="element">
                                    <div class="zcityGroup" city-range="{'level_start':1,'level_end':3}" city-ini="" zcity-id="zcity0"><div class="zcityItem" item-level="1"><div class="zcityItem-head"><input type="text" class="currentValue" readonly="" value="" placeholder="请选择"></div><div class="zcityItem-main"><div class="cityContainer"><div class="cityTips">请选择</div><ul class="citylist"><li class="cityitem" values="北京">北京</li><li class="cityitem" values="上海">上海</li><li class="cityitem" values="天津">天津</li><li class="cityitem" values="重庆">重庆</li><li class="cityitem" values="河北">河北</li><li class="cityitem" values="山西">山西</li><li class="cityitem" values="河南">河南</li><li class="cityitem" values="辽宁">辽宁</li><li class="cityitem" values="吉林">吉林</li><li class="cityitem" values="黑龙江">黑龙江</li><li class="cityitem" values="内蒙古">内蒙古</li><li class="cityitem" values="江苏">江苏</li><li class="cityitem" values="山东">山东</li><li class="cityitem" values="安徽">安徽</li><li class="cityitem" values="浙江">浙江</li><li class="cityitem" values="湖北">湖北</li><li class="cityitem" values="福建">福建</li><li class="cityitem" values="广东">广东</li><li class="cityitem" values="湖南">湖南</li><li class="cityitem" values="江西">江西</li><li class="cityitem" values="广西">广西</li><li class="cityitem" values="海南">海南</li><li class="cityitem" values="四川">四川</li><li class="cityitem" values="云南">云南</li><li class="cityitem" values="贵州">贵州</li><li class="cityitem" values="陕西">陕西</li><li class="cityitem" values="西藏">西藏</li><li class="cityitem" values="青海">青海</li><li class="cityitem" values="甘肃">甘肃</li><li class="cityitem" values="新疆">新疆</li><li class="cityitem" values="宁夏">宁夏</li><li class="cityitem" values="台湾">台湾</li><li class="cityitem" values="香港">香港</li><li class="cityitem" values="澳门">澳门</li><li class="cityitem" values="钓鱼岛">钓鱼岛</li></ul></div></div></div><div class="zcityItem" item-level="2"><div class="zcityItem-head"><input type="text" class="currentValue" readonly="" value="" placeholder="请选择"></div><div class="zcityItem-main"><div class="cityContainer"><div class="cityTips">请选择</div><ul class="citylist"></ul></div></div></div><div class="zcityItem" item-level="3"><div class="zcityItem-head"><input type="text" class="currentValue" readonly="" value="" placeholder="请选择"></div><div class="zcityItem-main"><div class="cityContainer"><div class="cityTips">请选择</div><ul class="citylist"></ul></div></div></div></div>
                                    <div class="form_error"><em class="ico_error"></em>请选择地区</div>
                                </div>
                            </div>
                            <div class="form_line">

                                <div class="element">
                                    <div class="text_wrap">
                                        <input type="text" class="text area_text" name="square" id="area" placeholder="输入您的房屋面积">
                                        <!--<em class="text_lbl">输入您的房屋面积</em>-->
                                        <em class="unit" style="color: black;">m²</em>
                                        <div class="form_error"><em class="ico_error"></em>请输入建筑面积</div>
                                    </div>
                                    <p class="text_area">* 输入面积小于30㎡时，报价结果按30㎡计算</p>
                                </div>
                            </div>

                            <div class="form_line">

                                <div class="element">
                                    <div class="clear">
                                        <select name="shi" id="shi" class="select select_s select_s_s col_l">
                                            <option value="1室">1室</option>
                                            <option value="2室">2室</option>
                                            <option value="3室">3室</option>
                                            <option value="4室">4室</option>
                                            <option value="5室">5室</option>
                                            <option value="6室">6室</option>
                                        </select>
                                        <select name="ting" id="ting" class="select select_s select_s_s col_l">
                                            <option value="1厅">1厅</option>
                                            <option value="2厅">2厅</option>
                                            <option value="3厅">3厅</option>
                                            <option value="4厅">4厅</option>
                                            <option value="5厅">5厅</option>
                                            <option value="6厅">6厅</option>
                                        </select>
                                        <select name="chu" id="chu" class="select select_s select_s_s col_l">
                                            <option value="1厨">1厨</option>
                                            <option value="2厨">2厨</option>
                                            <option value="3厨">3厨</option>
                                        </select>
                                        <select name="wei" id="wei" class="select select_s col_l">
                                            <option value="1卫">1卫</option>
                                            <option value="2卫">2卫</option>
                                            <option value="3卫">3卫</option>
                                            <option value="4卫">4卫</option>
                                            <option value="5卫">5卫</option>
                                            <option value="6卫">6卫</option>
                                        </select>
                                        <select name="yangtai" id="yangtai" class="select select_s col_l">
                                            <option value="1阳台">1阳台</option>
                                            <option value="2阳台">2阳台</option>
                                            <option value="3阳台">3阳台</option>
                                            <option value="4阳台">4阳台</option>
                                            <option value="5阳台">5阳台</option>
                                            <option value="6阳台">6阳台</option>
                                        </select>
                                    </div>
                                </div>
                            </div>

                            <div class="form_line" id="phoneInput">

                                <div class="element">

                                    <div class="text_wrap">
                                        <input type="text" class="text" name="phone" id="mobile" placeholder="报价结果将发送到您的手机">
                                        <div class="form_error"><em class="ico_error"></em>请输入正确的手机号</div>
                                    </div>

                                </div>
                            </div>
                            <div class="submit-btn-box">
                                <a class="submit-btn expose-stream" href="javascript:void(0);" id="calc_btn" searchtage="1_2_2_21" data-expose="true">
                                    立即计算
                                </a>
                            </div>
                        </div>
                    </form>
                     <script>
   
        $('#calc_btn').click(function () {
                var huxing=$("#shi").val()+$("#ting").val()+$("#chu").val()+$("#wei").val()+$("#yangtai").val();
                var a = $('.zcityGroup').find('.currentValue')
                var city=a.eq(0).val()+a.eq(1).val()+a.eq(2).val()
                var mobile=$("#mobile").val();
                var area=$("#area").val();
                    if(city==''){
                        alert('请选择您的所在城市！')
                        return false;
                    }else if(!mobile.match(/^1[0-9]{10}$/)){
                        alert('请输入正确的手机号码！')
                        return false;
                    }else if(area == ''){
                        alert('请输入您的房屋面积！')
                        return false;
                    }
                    console.log(huxing,city,mobile,area)
                    $.ajax({
                       type: "POST",
                       dataType: 'json',
                       url: '{:U("Home/Baojia/add")}',
                       data: {
                         huxing:huxing,
                         city:city,
                         mobile:mobile,
                         area:area
                       },
                       success: function (data) {
                             alert(data.msg);
                           if (data.status == 1) {
                               window.location.reload();
                           }
                       },
                       error: function () {
                       
                       }

                   })

                })

</script>
                </div>
                <div class="every_look">
                    <strong class="right_title">{$data}热门装修公司排行</strong>
                    <ul class="look_list">
                        <foreach name="arr" item="v">
                            <li>
                                <div class="intro"><em class="cur_num  bgyellow ">{$v.num}</em><a class="this_title " href="{:U('Company/detail',array('id'=>$v['id']))}" target="_blank" title="{$v.cname}">{$v.cname}</a></div>
                            </li>

                        </foreach>
                    </ul>
                </div>
            </div>

        </div>
        <div class="main-container">
            <div class="company-nav">

                <div class="J-Show-Triangle list-show">
                    
                    <dl class="nav-top-dl" style="height: auto">
                        <dt>服务区域</dt>
                        <dd><a href="__MODULE__/Company/">全部</a>
                    <foreach name="arr7" item="v">
                         <a href="{:U('Company/index',array('s_county'=>$v['name']))}">{$v.name}</a>
                    </foreach>
                         </dd>
                   
                    </dl>
                    <!--<dl class="nav-top-dl">-->
                        <!--<dt>承接价位</dt>-->
                        <!--<dd><a href="{:U('Com/index',array('area'=>$v['name']))}">3万以下</a></dd>-->
                    <!--</dl>-->
                </div>
                </div>
            <!--<div class="rank-tabs">-->
                <!--<ul>-->
                    <!--<li class="rank-arrow on"><a href="#">综合排序<em></em></a>-->
                    <!--</li>-->
                    <!--<li class="rank-arrow"><a href="{:U('Com/index?zixunnum')}">人气飙升榜<em></em></a></li>-->
                    <!--<li class="rank-arrow"><a href="{:U('Com/index?koubei')}">好评榜<em></em></a></li>-->
                <!--</ul>-->
            <!--</div>-->
            <div class="rank-company-list">
                <ul>
                <foreach name="arr" item="v">
                    <li>
                        <div class="company-rank-container"><a class="company-logo-link" href="{:U('Company/detail',array('id'=>$v['id']))}"
                                                               target="_blank"><img alt="{$v.cname}"
                                                                                    src="__PUBLIC__/Upload/{$v.imagename}"></a>
                            <div class="comp-data"><span class="zxgs-name"><a class="zxgs-name-link"
                                                                              href="{:U('Company/detail',array('id'=>$v['id']))}" target="_blank"
                                                                              title="{$v.cname}">{$v.cname}</a></span>
                                <span class="zxgs-comment"><em class="zxgs-design">设</em>{$v.koubei}套<em
                                        class="zxgs-comt">评</em>{$v.zixunnum}个</span> <span class="zxgs-addr"><em
                                        class="zxgs-icon_weizhi"></em>{$v.dizhi}</span>
                                <div class="zxgs-free-design"><a class="free-design J-pop-order on" data-index="0"
                                                                 href="javascript:void(0)">免费帮我做设计</a> <a
                                        class="free-price J-pop-order" data-index="1"
                                        href="__MODULE__/Baojia">免费帮我出报价</a></div>
                            </div>
                            <div class="zxgs-koubei">
                                <div class="zxgs-text">口碑值 <span class="mouth">{$v.koubei}</span></div>
                                <div class="zxgs-text">好评率 <span class="option">95.0%</span></div>
                                <div class="zxgs-consult">已有<span>{$v.zixunnum}</span>人咨询</div>
                            </div>
                        </div>
                    </li>
                    </foreach>
                </ul>
            </div>
            <div class="text-center per-width-100">
                <nav>
                    <div class="pagination">
                       
                        {$pageStr}
                                         </div>
                </nav>
            </div>

        </div>

    </div>
</section>
<include file="Public:foot"/>
<div class="model">
    <div class="screen-bg"></div>
    <div class="pop">
        <span class="pop-close pop-ie7 J-Ie7">x</span>
        <div class="pop-content">
            <div class="pop-order-info pop-order-num"><b>免费帮我做设计</b>

                <form id="order_form" novalidate="novalidate">
                    <dl class="input-line">
                        <dd><input class="J-Name error" type="text" name="username" placeholder="您的称呼" maxlength="32"
                                   aria-required="true" aria-invalid="true"></dd>
                        <label id="username-error" class="error">请填写您的姓名</label></dl>
                    <dl class="input-line">
                        <dd><input class="J-Tel error" type="text" name="tel" placeholder="您的联系方式" aria-required="true"></dd>
                        <label id="tel-error" class="error" >请填写正确的手机号码</label></dl>
                    <dl class="row-list form-group input-line">
                        <div class="zcityGroup" city-range="{'level_start':1,'level_end':3}" city-ini=""
                             zcity-id="zcity0">
                            <div class="zcityItem" item-level="1">
                                <div class="zcityItem-head"><input type="text" class="currentValue"
                                                                   readonly="" value="" placeholder="请选择">
                                </div>
                                <div class="zcityItem-main">
                                    <div class="cityContainer">
                                        <div class="cityTips">请选择</div>
                                        <ul class="citylist">
                                            <li class="cityitem" values="北京">北京</li>
                                            <li class="cityitem" values="上海">上海</li>
                                            <li class="cityitem" values="天津">天津</li>
                                            <li class="cityitem" values="重庆">重庆</li>
                                            <li class="cityitem" values="河北">河北</li>
                                            <li class="cityitem" values="山西">山西</li>
                                            <li class="cityitem" values="河南">河南</li>
                                            <li class="cityitem" values="辽宁">辽宁</li>
                                            <li class="cityitem" values="吉林">吉林</li>
                                            <li class="cityitem" values="黑龙江">黑龙江</li>
                                            <li class="cityitem" values="内蒙古">内蒙古</li>
                                            <li class="cityitem" values="江苏">江苏</li>
                                            <li class="cityitem" values="山东">山东</li>
                                            <li class="cityitem" values="安徽">安徽</li>
                                            <li class="cityitem" values="浙江">浙江</li>
                                            <li class="cityitem" values="湖北">湖北</li>
                                            <li class="cityitem" values="福建">福建</li>
                                            <li class="cityitem" values="广东">广东</li>
                                            <li class="cityitem" values="湖南">湖南</li>
                                            <li class="cityitem" values="江西">江西</li>
                                            <li class="cityitem" values="广西">广西</li>
                                            <li class="cityitem" values="海南">海南</li>
                                            <li class="cityitem" values="四川">四川</li>
                                            <li class="cityitem" values="云南">云南</li>
                                            <li class="cityitem" values="贵州">贵州</li>
                                            <li class="cityitem" values="陕西">陕西</li>
                                            <li class="cityitem" values="西藏">西藏</li>
                                            <li class="cityitem" values="青海">青海</li>
                                            <li class="cityitem" values="甘肃">甘肃</li>
                                            <li class="cityitem" values="新疆">新疆</li>
                                            <li class="cityitem" values="宁夏">宁夏</li>
                                            <li class="cityitem" values="台湾">台湾</li>
                                            <li class="cityitem" values="香港">香港</li>
                                            <li class="cityitem" values="澳门">澳门</li>
                                            <li class="cityitem" values="钓鱼岛">钓鱼岛</li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                            <div class="zcityItem" item-level="2">
                                <div class="zcityItem-head"><input type="text" class="currentValue"
                                                                   readonly="" value="" placeholder="请选择">
                                </div>
                                <div class="zcityItem-main">
                                    <div class="cityContainer">
                                        <div class="cityTips">请选择</div>
                                        <ul class="citylist"></ul>
                                    </div>
                                </div>
                            </div>
                            <div class="zcityItem" item-level="3">
                                <div class="zcityItem-head"><input type="text" class="currentValue"
                                                                   readonly="" value="" placeholder="请选择">
                                </div>
                                <div class="zcityItem-main">
                                    <div class="cityContainer">
                                        <div class="cityTips">请选择</div>
                                        <ul class="citylist"></ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <label id="city-error" class="error" >请选择您的所在地区</label></dl>
                    </dl>
                    <em class="J-Order-View submit">立即申请</em>
                    <div class="pop-order-promise">我们承诺：金蚂蚁装修网提供该项<span>免费服务，绝不产生任何费用</span>，为了您的利益以及我们的口碑，您的隐私将被严格保密。</div>
                    <div class="input-error"></div>
                </form>
                <div class="design-right-pic"><h1>只需4步，享受专属定制</h1><img
                        src="http://static.fuwo.com/fuwo/images/new/member/img_buzou.png" alt=""></div>
            </div>
            <div class="pop-success-info"><b>恭喜您已预约成功！</b><br><i class="share-icon-ok"></i><br><span>您已预约成功，我们的客服将会尽快与您联系，请保持电话畅通！</span></div>
        </div>

    </div>
</div>
<script src="__PUBLIC__/js/zcity.js"></script>
<script>
    zcityrun('.zcityGroup');
    $('.screen-bg,.pop-close').click(function () {
        $('.model').fadeOut()
    })
    $('section').delegate('.free-design','click',function () {
        $('.model').fadeIn()
        $('.pop-order-info').fadeIn();
        $('.pop-success-info').hide();
    })
    $('.J-Order-View').click(function () {
        var mobile =$('.J-Tel').val();
        var name = $('.J-Name').val();
        var a = $('.model .zcityGroup').find('.currentValue').eq(0).val();
        var b = $('.model .zcityGroup').find('.currentValue').eq(1).val();

        if(name ===''){
            $('#username-error').fadeIn();
            return false;
        }else if(!mobile.match(/^1[0-9]{10}$/)){
            $('#tel-error').fadeIn()
            return false;
        }else if(a+b ===''){
            $('#city-error').fadeIn()
            return false;
        }else{
            $.ajax({
                url:'{:U("Home/Company/sheji1")}',
                type:'POST',
                data:{name:name,mobile:mobile,city:b},
                success:function (data) {
              
                    if(JSON.parse(data).msg==1){
                        $('.pop-order-info').hide()
                        $('.pop-success-info').fadeIn();

                    }
                }

            })
        }
    })
</script>

</body>
</html>
